package com.chrray.position.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chrray.position.enums.YesNoEnum;
import com.chrray.position.enums.app.FdUserRoleEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 职位大类表
 *
 */

@Data
@ApiModel(description = "职位大类表")
@TableName("fd_job_category")
public class FdJobCategory {
	@ApiModelProperty(value = "主键ID")
	@TableId(type = IdType.AUTO)
	private Long id;
    @ApiModelProperty(value = "职位大类名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String description;


	@ApiModelProperty(value = "创建时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createdTime;

	@ApiModelProperty(value = "更新时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date updatedTime;

	private Integer delFlag;

    @ApiModelProperty(value = "职位子类")
    @TableField(exist = false)
    private Integer categoryNum;


}
